projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be9b0c
)
(eval-defun-1): Cope with atoms as args.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 21 Dec 2001 14:07:45 +0000
(14:07 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 21 Dec 2001 14:07:45 +0000
(14:07 +0000)
lisp/emacs-lisp/lisp-mode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index 2c92099da5345425858776ab5222bf3a0cd01385..1f691233208d411906e08722ce84d22826ab6294 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mode.el
+++ b/
lisp/emacs-lisp/lisp-mode.el
@@
-530,7
+530,9
@@
Interactively, with prefix argument, print output into current buffer."
Likewise for other constructs as necessary."
;; The code in edebug-defun should be consistent with this, but not
;; the same, since this gets a macroexpended form.
- (cond ((and (eq (car form) 'defvar)
+ (cond ((not (listp form))
+ form)
+ ((and (eq (car form) 'defvar)
(cdr-safe (cdr-safe form)))
;; Force variable to be bound.
(cons 'defconst (cdr form)))